# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-stopwatch-plugin
pkgver=0.5.0
pkgrel=0
pkgdesc="Stopwatch plugin for the Xfce panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-stopwatch-plugin"
arch="all"
license="BSD-2-Clause"
makedepends="xfce4-panel-dev libxfce4ui-dev gtk+3.0-dev"
options="!check" # no testsuite
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/${pkgver%.*}/xfce4-stopwatch-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="65562db151399f60abf98d439fc0f76e9aae228a28fb481dabb15072ade9777f98ea1cb4d8e03e081ad49162fff363e38da4fd406c243f1eadfe178b8fb931e1  xfce4-stopwatch-plugin-0.5.0.tar.bz2"
